/**
  ******************************************************************************
  * File Name          : TIM.h
  * Description        : This file provides code for the configuration
  *                      of the TIM instances.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
  * All rights reserved.</center></h2>
  *
  * This software component is licensed by ST under Ultimate Liberty license
  * SLA0044, the "License"; You may not use this file except in compliance with
  * the License. You may obtain a copy of the License at:
  *                             www.st.com/SLA0044
  *
  ******************************************************************************
  */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __tim_H
#define __tim_H
#ifdef __cplusplus
 extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "main.h"

/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

extern TIM_HandleTypeDef htim3;
extern TIM_HandleTypeDef htim4;
extern TIM_HandleTypeDef htim8;

/* USER CODE BEGIN Private defines */

/* USER CODE END Private defines */

void MX_TIM3_Init(void);
void MX_TIM4_Init(void);
void MX_TIM8_Init(void);

void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);

/* USER CODE BEGIN Prototypes */
void BSP_PWM_Start_1(void);
void BSP_PWM_Start_2(void);
void BSP_PWM_Start_3(void);
void BSP_PWM_Start_4(void);
void BSP_PWM_Start_5(void);
void BSP_PWM_Start_6(void);
void BSP_PWM_Start_7(void);
void BSP_PWM_Start_8(void);
void BSP_PWM_Start_9(void);
void BSP_PWM_Start_10(void);
void BSP_PWM_Start_11(void);
void BSP_PWM_Start_12(void);
void BSP_PWM_WritePulseWidth1(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth2(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth3(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth4(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth5(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth6(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth7(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth8(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth9(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth10(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth11(uint16_t pulseWidth);
void BSP_PWM_WritePulseWidth12(uint16_t pulseWidth);
/* USER CODE END Prototypes */

#ifdef __cplusplus
}
#endif
#endif /*__ tim_H */

/**
  * @}
  */

/**
  * @}
  */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
